package com.android.support.lib.universal.view.web;

import java.util.ArrayList;

import android.app.Activity;

public class Count {
	public static int count=0;
	
	public static String currentUrl="";//记录当前URL
	public static long lasttTime = 0;//记录上一次跳转的时间
	
	public static ArrayList<Activity> activitiesList=new ArrayList<Activity>();
	
	/**
	 * 将web自动刷新时，去除多余的activity跳转。
	 */
	public static void exit(){
		for(int i=0;i<activitiesList.size();i++){
			activitiesList.get(i).finish();
			activitiesList.remove(i);
		}
		count=0;
	}
}
